unix: {
    QMAKE_CXXFLAGS += -maes

    DEFINES += USE_INTEL_AES_IF_AVAILABLE

    INCLUDEPATH += $$PWD/openssl/mac/include

    LIBS += -L$$PWD/openssl/mac/lib -lssl -lcrypto
}

win32: {
    # win 32bit openssl lib build from vs2017
    # notice: you should copy dlls to the binary dir
    INCLUDEPATH += $$PWD/openssl/win/include

    LIBS += -L$$PWD/openssl/win/lib -llibssl -llibcrypto
}

HEADERS += \
    $$PWD/aes/qaesencryption.h \
    $$PWD/rsa/RSA.h

SOURCES += \
    $$PWD/aes/qaesencryption.cpp \
    $$PWD/rsa/RSA.cpp


